[INFO] cloning repository https://github.com/kstrempel/rusty_ants
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kstrempel/rusty_ants" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkstrempel%2Frusty_ants", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkstrempel%2Frusty_ants'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ab75e20128379935e3aa7e1c62c594bbef55089e
[INFO] building kstrempel/rusty_ants against master#881c1ac408d93bb7adaa3a51dabab9266e82eee8 for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkstrempel%2Frusty_ants" "/workspace/builds/worker-2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/kstrempel/rusty_ants on toolchain 881c1ac408d93bb7adaa3a51dabab9266e82eee8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/kstrempel/rusty_ants
[INFO] finished tweaking git repo https://github.com/kstrempel/rusty_ants
[INFO] tweaked toml for git repo https://github.com/kstrempel/rusty_ants written to /workspace/builds/worker-2/source/Cargo.toml
[INFO] crate git repo https://github.com/kstrempel/rusty_ants already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 84df7e4807e980e395b08e80b39d8b9c65c83e9b5169115dd8b50121164dfd64
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "84df7e4807e980e395b08e80b39d8b9c65c83e9b5169115dd8b50121164dfd64", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "84df7e4807e980e395b08e80b39d8b9c65c83e9b5169115dd8b50121164dfd64", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "84df7e4807e980e395b08e80b39d8b9c65c83e9b5169115dd8b50121164dfd64", kill_on_drop: false }`
[INFO] [stdout] 84df7e4807e980e395b08e80b39d8b9c65c83e9b5169115dd8b50121164dfd64
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4b19a005d8a5a6c0f4a1d68d3ae9f3d286bb8a42dff656c1b54c3088691dfb83
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "4b19a005d8a5a6c0f4a1d68d3ae9f3d286bb8a42dff656c1b54c3088691dfb83", kill_on_drop: false }`
[INFO] [stderr]    Compiling rusty_ants v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] error: invalid suffix `u` for number literal
[INFO] [stdout]   --> src/main.rs:14:23
[INFO] [stdout]    |
[INFO] [stdout] 14 |   let counter = range(0u, count);
[INFO] [stdout]    |                       ^^ invalid suffix `u`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `i` for number literal
[INFO] [stdout]   --> src/main.rs:20:26
[INFO] [stdout]    |
[INFO] [stdout] 20 |   let result = (num::pow(2i, (a.x - b.y)) + num::pow(2i, (a.y-b.x)));
[INFO] [stdout]    |                          ^^ invalid suffix `i`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `i` for number literal
[INFO] [stdout]   --> src/main.rs:20:54
[INFO] [stdout]    |
[INFO] [stdout] 20 |   let result = (num::pow(2i, (a.x - b.y)) + num::pow(2i, (a.y-b.x)));
[INFO] [stdout]    |                                                      ^^ invalid suffix `i`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `rand` in `std`
[INFO] [stdout]  --> src/main.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::rand::distributions::{IndependentSample, Range};
[INFO] [stdout]   |          ^^^^ could not find `rand` in `std`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::rand`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::rand;
[INFO] [stdout]   |     ^^^^^^^^^ no `rand` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]  --> src/main.rs:6:6
[INFO] [stdout]   |
[INFO] [stdout] 6 |   x: uint,
[INFO] [stdout]   |      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]  --> src/main.rs:7:6
[INFO] [stdout]   |
[INFO] [stdout] 7 |   y: uint
[INFO] [stdout]   |      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/main.rs:10:27
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn generate_world(height: uint, width: uint, count: uint) -> Vec<Point> {
[INFO] [stdout]    |                           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/main.rs:10:40
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn generate_world(height: uint, width: uint, count: uint) -> Vec<Point> {
[INFO] [stdout]    |                                        ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/main.rs:10:53
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn generate_world(height: uint, width: uint, count: uint) -> Vec<Point> {
[INFO] [stdout]    |                                                     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Range`
[INFO] [stdout]   --> src/main.rs:11:17
[INFO] [stdout]    |
[INFO] [stdout] 11 |   let range_x = Range::new(0, height);
[INFO] [stdout]    |                 ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::collections::btree_map::Range;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::collections::btree_set::Range;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::ops::Range;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Range`
[INFO] [stdout]   --> src/main.rs:12:17
[INFO] [stdout]    |
[INFO] [stdout] 12 |   let range_y = Range::new(0, width);
[INFO] [stdout]    |                 ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::collections::btree_map::Range;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::collections::btree_set::Range;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::ops::Range;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `range` in this scope
[INFO] [stdout]   --> src/main.rs:14:17
[INFO] [stdout]    |
[INFO] [stdout] 14 |   let counter = range(0u, count);
[INFO] [stdout]    |                 ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::slice::range;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `pow` in module `num`
[INFO] [stdout]   --> src/main.rs:20:22
[INFO] [stdout]    |
[INFO] [stdout] 20 |   let result = (num::pow(2i, (a.x - b.y)) + num::pow(2i, (a.y-b.x)));
[INFO] [stdout]    |                      ^^^ not found in `num`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `pow` in module `num`
[INFO] [stdout]   --> src/main.rs:20:50
[INFO] [stdout]    |
[INFO] [stdout] 20 |   let result = (num::pow(2i, (a.x - b.y)) + num::pow(2i, (a.y-b.x)));
[INFO] [stdout]    |                                                  ^^^ not found in `num`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/main.rs:20:16
[INFO] [stdout]    |
[INFO] [stdout] 20 |   let result = (num::pow(2i, (a.x - b.y)) + num::pow(2i, (a.y-b.x)));
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/main.rs:20:30
[INFO] [stdout]    |
[INFO] [stdout] 20 |   let result = (num::pow(2i, (a.x - b.y)) + num::pow(2i, (a.y-b.x)));
[INFO] [stdout]    |                              ^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/main.rs:20:58
[INFO] [stdout]    |
[INFO] [stdout] 20 |   let result = (num::pow(2i, (a.x - b.y)) + num::pow(2i, (a.y-b.x)));
[INFO] [stdout]    |                                                          ^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 15 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rusty_ants`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "4b19a005d8a5a6c0f4a1d68d3ae9f3d286bb8a42dff656c1b54c3088691dfb83", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4b19a005d8a5a6c0f4a1d68d3ae9f3d286bb8a42dff656c1b54c3088691dfb83", kill_on_drop: false }`
[INFO] [stdout] 4b19a005d8a5a6c0f4a1d68d3ae9f3d286bb8a42dff656c1b54c3088691dfb83
